﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    internal class Program
    {
        static void Main(string[] args)
        {
            int[] num = new int[99];
            for(int i = 0; i < num.Length; i++)
            {
                num[i] = i + 2;
            }
            int j = 0;
            while (j * j <= 64)
            {
                if (num[j] != 0)
                {
                    for (int k = 2; num[j] * k <= 100; k++)
                        num[k * num[j] - 2] = 0;
                }
                j++;
            }
            foreach (int i in num)
                if (i != 0)
                    Console.WriteLine(i);
        }
    }
}
